package com.example.AIstudy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("dialog")
public class Dialog implements Serializable {
    //自增的主键
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //问答的ID
    @TableField("questionID")
    private Integer questionID;

    //一次对话的问题
    @TableField("askStr")
    private String askStr;

    //一次对话的问题
    @TableField("answer")
    private String answer;
}
